home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / keeplr11.zip / KEEPLR11.DOC < prev    next >
Text File  |  1990-07-01  |  2KB  |  66 lines

  1.  
  2.      SAV-DBLR & RES-DBLR -=- Utilities for D'Bridge/QuickBBS/RemoteAccess
  3.  
  4.  
  5. Purpose:
  6.  
  7. SAV-DBLR and RES-DBLR are for use by SysOps who use the D'Bridge editor
  8. (DBEDIT.EXE) to access their QuickBBS or RemoteAccess messages.  These
  9. utilities will keep the D'Bridge record of lastread messages accurate even
  10. when the messagebase has been packed and renumbered.
  11.  
  12.  
  13. Usage:
  14.  
  15. The SAV-DBLR program will translate the D'Bridge lastread message pointers
  16. into the BBS lastread pointer file.  The program accomodates multiple
  17. authorized users in the D'Bridge configuration as long as the BBS USERS.BBS
  18. file has the user names sorted in the same order as the names were defined
  19. in the D'Bridge setup.  SAV-DBLR checks for proper user name positioning in
  20. USERS.BBS.
  21.  
  22. The RES-DBLR translates the BBS lastread message pointers back into the
  23. D'Bridge pointer file after messagebase maintenance is completed.  RES-DBLR
  24. checks the BBS message header file for valid message record pointers, and
  25. writes them to the D'Bridge pointer file as well.
  26.  
  27. Both utilities require DOS environment variables to be set which define the
  28. directories containing the BBS and D'Bridge pointer files.  Prior to running
  29. either program, use the DOS SET command:
  30.  
  31.        SET BBS=E:\QUICKBBS
  32.        SET DBRIDGE=E:\DB
  33.  
  34. If one of the utilities encounters a missing file, an error message will be
  35. displayed on the screen, and the DOS Errorlevel will be set to the value 1.
  36. If an unanticipated error occurs, the Errorlevel will be set to the value 2.
  37.  
  38.  
  39. Example Batch file fragment - use during nightly maintenance:
  40.  
  41.     COPY LASTREAD.BBS SAVEDLR.BBS
  42.     COPY E:\DB\DBRIDGE.LRQ SAVEDLR.LRQ
  43.     SAV-DBLR
  44.     MBUTIL PACK -FORCE -DELETE
  45.     RES-DBLR
  46.     IF ERRORLEVEL 1 ECHO Error during Messagebase Maintenance >> E:\DB\DB.LOG
  47.     IF ERRORLEVEL 1 COPY SAVEDLR.BBS LASTREAD.BBS
  48.     IF ERRORLEVEL 1 COPY SAVEDLR.LRQ E:\DB\DBRIDGE.LRQ
  49.     IF ERRORLEVEL 1 GOTO QUIT
  50.     DEL SAVEDLR.BBS
  51.     DEL SAVEDLR.LRQ
  52.     :QUIT
  53.     MBUTIL LINK
  54.  
  55. Disclaimer:
  56.  
  57. These programs are not guaranteed to function properly on your system, and
  58. you use them entirely at your own risk.  The author takes no responsibility
  59. of any kind for the consequences of using SAV-DBLR.EXE or RES-DBLR.EXE.
  60.  
  61. Questions, comments, and suggestions are welcome.  You may contact me via
  62. netmail at FidoNet 1:105/360 or NetWork 8:77/14.
  63.  
  64.                                                 Dave Emory
  65.  
  66.